<%-- 
    Document   : mesInfos
    Created on : 29 mars 2013, 00:17:56
    Author     : virginie
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>MiagistShop - Mes informations</title>
        <link rel="stylesheet" type="text/css" media="screen" href="jsp/css/css_main.css" />
    </head>
    <body>
        <s:include value="homePage.jsp"/>


        <!-- Document --> 
        <div id="document2"> 

            <!-- Colonne 1 ListeCatégorie --> 

            <s:include value="colonne1Menu.jsp"/> 

            <!-- Colonne 2 --> 
            <div id="colonne2" style="text-align: left;"> 
                <br><br>
                <h2>Mes informations</h2>        

                    <s:form namespace="/" action="client.update">
                    <s:hidden name="iban" value="%{client.iban_client}"  required="true"/>
                    <s:textfield name="nom" label="Nom" value="%{client.nom_client}"required="true"/>
                    <s:textfield name="prenom" label="Prenom" value="%{client.prenom_client}" required="true"/>
                    
                    <s:textfield name="solde" label="Solde" value="%{client.solde}"/>
                    <s:textfield name="adresse_client" label="Adresse" value="%{client.adresse_client}" required="true"/>
                    <s:textfield name="codepostal_client" label="Code Postal" value="%{client.cp_client}" required="true"/>
                    <s:textfield name="ville_client" label="Ville" value="%{client.ville_client}" required="true"/>
                    <s:textfield name="email" label="email" value="%{client.email}" required="true"/>
                    <s:hidden name="login" label="login" value="%{client.login}" required="true"/>
                    <s:password name="password" label="password" value="%{client.password}" required="true"/>

                    <s:if test="%{panierInscription == 'nouveauInscription'}">
                        <s:hidden name="pagePanier"  value="oui"/><s:property value="%{panierInscription}"/>
                    </s:if>
                    <s:else>
                        <s:hidden name="pagePanier"  value="non"/>
                    </s:else>
                    <s:submit value="enregistrer"/>
                </s:form>
            </div> 

            <!-- Colonne 3 --> 
            <s:include value="recherche.jsp"/>

        </div>


        <!-- Footer --> 
        <s:include value="footer.jsp"/> 


    </body>
</html>

